export const CURRENT_STATUS = {
  1: '跟进中',
  2: '待分派',
  3: '已还款'
}
export const REPAYMENT_HEAD_LIST = [
  { prop: 'loanSerialNo', label: '借款编号' },
  { prop: 'customerName', label: '姓名' },
  { prop: 'productName', label: '产品类型' },
  { prop: 'loanAmount', label: '借款金额' },
  { prop: 'loanTime', label: '借款时间' },
  { prop: 'needRepayAmount', label: '应还金额' },
  { prop: 'repaidAmount', label: '实还金额' },
  { prop: 'remainRepayAmount', label: '剩余应还' },
  { prop: 'overdueDays', label: '逾期天数' },
  { prop: 'acceptorName', label: '受理人' },
  { prop: 'currentStatusName', label: '当前状态' },
  { prop: 'updateTime', label: '数据更新日期' }
]

// 分派受理人
export const ACCEPTOR_HEAD_LIST = [
  { prop: 'realName', label: '员工姓名' },
  { prop: 'userName', label: '工号' },
  { prop: 'organizationName', label: '所属机构' }
]
export const BACIS_FORM = [
  { prop: 'customerName', label: '姓名', type: 'input', isEdit: false },
  { prop: 'idNbr', label: '证件号', type: 'input', isEdit: false },
  { prop: 'customerPhone', label: '手机号', type: 'input', isEdit: false },
  { prop: 'organPhone', label: '单位电话', type: 'input', isEdit: false },
  { prop: 'organName', label: '单位名称', type: 'input', isEdit: false },
  { prop: 'organAdrr', label: '单位地址', type: 'input', isEdit: false },
  { prop: 'homeAdrr', label: '常住地址', type: 'input', isEdit: false },
  { prop: 'homePhone', label: '住宅电话', type: 'input', isEdit: false }
]

export const REPAY_FORM = [
  { prop: 'needRepayAmount', label: '应还金额', type: 'input', isEdit: false },
  { prop: 'overdueAmount', label: '逾期金额', type: 'input', isEdit: false },
  { prop: 'overdueDays', label: '逾期天数', type: 'input', isEdit: false },
  { prop: 'repaidAmount', label: '已还金额', type: 'input', isEdit: false },
  { prop: 'remainRepayAmount', label: '剩余未还金额', type: 'input', isEdit: false },
  { prop: 'latestRepayAmount', label: '最近一次还款金额', type: 'input', width: '140px', isEdit: false },
  { prop: 'latestRepayDay', label: '最近一次还款日期', type: 'input', width: '140px', isEdit: false }
]

export const LOAN_FORM = [
  { prop: 'productName', label: '产品名称', type: 'input', isEdit: false },
  { prop: 'loanAmount', label: '借款金额', type: 'input', isEdit: false },
  { prop: 'loanPeriods', label: '借款期数', type: 'input', isEdit: false },
  { prop: 'loanTime', label: '借款时间', type: 'input', isEdit: false }
]

export const FOLLOW_HEAD_LIST = [
  { prop: 'loanSerialNo', label: '借款编号' },
  { prop: 'customerName', label: '姓名' },
  { prop: 'acceptorName', label: '受理人' },
  { prop: 'acceptorOrgName', label: '所属机构' },
  { prop: 'createTime', label: '跟进时间' },
  { prop: 'followDesc', label: '跟进记录' }
]
